package com.hyper_yang._03_designpatterns.principles.demo4.next;

/**
 * 单一职责原则-保存文档
 */
public class DocumentSaver {
    public void save(Document doc) {
        System.out.println("保存文档: " + doc.getContent());
    }
}
